<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
 <head>
 <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
  <title>CSS Test: Declarations and Properties - 4.1.8</title>
  <link rel="author" title="Tim BOland">
  <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#declaration">
  <style type="text/css">

.onerule {
  color: green;
  background-color: yellow
}

.tworule1 { color: green }
#tworule2 { background-color: yellow }

  </style>
 </head>
 <body>

 <p class="onerule">This text should be green, with background color yellow (one rule, two properties).</p>
 <p class="tworule1" id="tworule2">This text should also be green, with background color yellow, same as the text above (two rules, each with one
property)</h2>  

 </body>
</html>